package com.oauth2.springsecurityoauth2demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringsecurityOauth2DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringsecurityOauth2DemoApplication.class, args);
	}

}
/**
 * 获取授权码的uri
 * http://localhost:8080/oauth/authorize?response_type=code&client_id=admin&redirect_uri=http://www.baidu.com&scope=all
 */
